class CommonFilters {
  def filters = {
    all(controller: '*', action: '*') {
      before = {
        // 设置默认图片URL路径
        request.imagesServerURL = grailsApplication.config.grails.imagesServerURL
      }
      afterView = {
        //保存历史URL


      }
    }

  }
}

